//用于显示测试项目列表(不能编辑)
var testProjectForUnAbleEditorGrid=Ext.create('Ext.grid.Panel', {
	title: '测试项目',
	store: testProjectStore,
	features: [{
		id: 'group',
		ftype: 'groupingsummary',
		groupHeaderTpl: new Ext.XTemplate(
				'基础系统: {[values.name.substring(32)]}'
		),
		hideGroupedHeader: false,
		enableGroupingMenu: false
	}],
	columns: [new Ext.grid.RowNumberer(), //显示行号
		{
			text: '名称',
			//width: 230,
			flex:1,
			align: 'center',
			dataIndex: 'name',
			hideable: false,
		}, {
			header: '所属小组',
			align: 'center',
			width: 180,
			dataIndex: 'groupName'
		}, {
			header: '创建日期',
			align: 'center',
			width: 180,
			sortable: true,
			dataIndex: 'createDate',
			renderer:function(value){
				if(value==null)
					return '无';
				else
					return value.replace('T', '  ');
			}
		}, {
			text: '操作',
			align: 'center',
			sortable: false,
			xtype: 'actioncolumn',
			width: 140,
			items: [{
				icon: 'static/images/icons/fam/look.ico',
				tooltip: '查看详情',
				handler: function(grid, rowIndex, colIndex, actionItem, event, record, row) {
					testProjectSeeDetailClick(record,false);
				}
			},'-',{
				icon: 'static/images/icons/fam/plan.ico',
				tooltip: '查看设计流程',
				handler: function(grid, rowIndex, colIndex, actionItem, event, record, row) {
					testProjectDesignProcessClick(record,false);
				}
			},'-',{
				icon: 'static/images/icons/fam/grade.ico',
				tooltip: '查看设计评分标准',
				handler: function(grid, rowIndex, colIndex, actionItem, event, record, row) {
					testGradeRuleDesignClick(record,false);
				}
			}]
		}]
});